package com.fsy.service;

import com.fsy.entities.Book;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
* @author 凡凡
* @description 针对表【book】的数据库操作Service
* @createDate 2022-03-15 10:27:51
*/
public interface BookService extends IService<Book> {

    /**
     * 查询全部图书
     * @param book
     * @return
     */
    public List<Book> findByBook(Book book);

    /**
     * 查询全部图书条数
     * @param book
     * @return
     */
    public int selectBookCounts(Book book);
}
